package eu.testing.system.dao;

import java.sql.SQLException;
import java.util.List;

import eu.testing.system.models.Result;
import eu.testing.system.models.Test;

public interface ResultDao {
	
	public void insertResult(Result result);
	public Result getResult(String username, int testId);
	public void editResult(Result result);
	public Result analyzeAnswers(String username, Test submitedTest) throws SQLException;
	public List<Result> getAllResults(String username);
	

}
